import os

from config.config import Setting, basedir


class DevSetting(Setting):
    PORT = '8081'
    DEBUG = True
    USE_RELOADER = False
    # DATABASE_URI='mysql://root:password@192.168.1.101/test'
    SQLALCHEMY_DATABASE_URI = 'sqlite:///' + os.path.join(basedir, 'test.db')
    print('SQLALCHEMY_DATABASE_URI: ', SQLALCHEMY_DATABASE_URI)
    SQLALCHEMY_TRACK_MODIFICATIONS = True
